package edu.scau.divineplace.entity.vo;

import edu.scau.divineplace.entity.dos.ContentBasicInformationDO;
import edu.scau.divineplace.entity.dos.JournalDO;
import edu.scau.divineplace.entity.dos.UserDO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author: x1aolone
 * @Date: 2020/12/11 16:00
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel("JournalVO")
public class JournalVO {
    @ApiModelProperty("日志信息")
    private JournalDO journal;

    @ApiModelProperty("发表用户信息")
    private UserDO user;

    @ApiModelProperty("关联内容信息")
    private ContentBasicInformationDO contentInfo;

    @ApiModelProperty("被点赞数")
    private Integer likeNum;

}
